<template>
  <div class="home">
    <HelloWorld :msg="message"/>
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue'

export default {
  name: 'Home',
  components: {
    HelloWorld
  },
  data () {
    return {
      message: '处理边界情况'
    }
  },
  methods: {
    fnCallback (message) {
      this.message = message || 'Welcome to Your Vue.js App'
    }
  }
}
</script>
